#ifndef INET_PATIENTSERVICEHANDLER_H
#define INET_PATIENTSERVICEHANDLER_H

#include "ServiceHandler.h"
#include "Reactor.h"
#include <iostream>
#include "Buffer.h" 

class PatientServiceHandler : public ServiceHandler
{
public:
  PatientServiceHandler(Reactor * dispatcher, Buffer *bfr)
    : reactor_(dispatcher), buffer_(bfr) {}
  void open();
  void service();
  void handleEvent(Handle h, EventType et);

private:
  Reactor * reactor_;
  Buffer  * buffer_;
};

#endif
